﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Security;
using NUnit.Framework;
using KingSite.Purview;

namespace KingSite.PurviewUntTest {
    [TestFixture]
    public class PurviewUntTest {

        
        MembershipExProvider _provider;


        [TestFixtureSetUp]
        public void Init() {            
            _provider = (MembershipExProvider)Membership.Provider; ;
        }


        [Test]
        public void ResetPwdTest() {
            bool b = _provider.ResetPwd("tyx", "1234567");            
            Assert.AreEqual(true, b);
            
        }
    }
}
